<?php /* Smarty version 2.6.18, created on 2008-07-12 12:02:59
         compiled from ajax_items.list.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', '_', 'ajax_items.list.tpl', 3, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'ajax.header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="options">
	<input type="button" value="<?php echo translate(array('t' => 'Guardar'), $this);?>
"   id="item_save_order"   class="save">
	<input type="button" value="<?php echo translate(array('t' => 'Cancelar'), $this);?>
" id="item_cancel_order" class="cancel">
</div>

<h1><img src="../public/icons/16x16/apps/<?php echo $this->_tpl_vars['ITEM_TYPE']; ?>
.png"/><?php echo translate(array('t' => "Listado de ".($this->_tpl_vars['ITEM_TYPE'])), $this);?>
</h1> 	

<form id="item_order_form">
	<div id="icontent">
	<b>
	<a id="item_title_order" href=""><?php echo translate(array('t' => "T&iacute;tulos"), $this);?>
</a> | 
	<a id="item_order_order" href=""><?php echo translate(array('t' => 'Orden'), $this);?>
</a> |
	<?php echo translate(array('t' => 'Visibilidad'), $this);?>
:
	<select id="item_visibility" name="item_visibility" class="edit_mode">
		<option <?php if ($this->_tpl_vars['visibility'] == 0): ?> selected="selected"<?php endif; ?> value="0" >ALL</option>
		<option <?php if ($this->_tpl_vars['visibility'] == 5): ?> selected="selected"<?php endif; ?> value="5" >PUBLIC</option>
		<option <?php if ($this->_tpl_vars['visibility'] == 3): ?> selected="selected"<?php endif; ?> value="3" >DRAFT</option>
	</select>
	</b>

	<ul id="items_list"></ul>
	</div>
</form>

<ul id="paginator"></ul>
<br style="clear:both" />

<div class="tip">
<p><img src="../public/icons/16x16/apps/tip.png"/><?php echo translate(array('t' => "Arrastre y sueltes los elementos para ordenarlos."), $this);?>
</p>
</div>

<input type="hidden" id="item_order_var" 			value="title_<?php echo $this->_tpl_vars['language']; ?>
"/>
<input type="hidden" id="item_visibility_var" value="0"/>
<input type="hidden" id="item_page_var" 			value="0"/>


<iframe name="nodisplay" style="display:none;"></iframe>
</div>

<script type="text/javascript">
var ITEM_TYPE = '<?php echo $this->_tpl_vars['ITEM_TYPE']; ?>
';
var ITEM_RELATION = 'item';
items_init();
</script>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'ajax.footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>